<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>平台端首页</title>
    <script src="../../js/vue.js"></script>
    <script src="../../js/axios0.18.js"></script>
</head>
<body>
<div id="app">
    <table>
        <tr>
            <td><input type="button" value="电影列表" @click="toMovieList"></td>
            <td><input type="button" value="添加电影" @click="toAddMovie"></td>
        </tr>
        <tr>
            <td><input type="button" value="影院列表" @click="toCinemaList"></td>
            <td><input type="button" value="添加影院" @click="toAddCinema"></td>
        </tr>
    </table>
</div>
</body>
</html>
<script>
    new Vue({
        el: "#app",
        data: {},
        methods: {
            toAddMovie() {
                window.location = "addMovie.html";
            },
            toMovieList() {
                window.location = "movieList.html";
            },
            toAddCinema() {
                window.location = "addCinema.html";
            },
            toCinemaList() {
                window.location = "cinemaList.html";
            }
        }
    });
</script>